$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;

.home {
  position: relative;
  width: 100%;

  .banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      max-height: 100vh;
    }

    .text {
      position: absolute;
      left: 0;
      top: 50%;
      width: 100%;
      text-align: center;
      transform: translateY(-50%);
      font-size: $fontSize_64;
      color: white;
      font-weight: 600;
      text-transform: uppercase;
      font-style: italic;
    }
  }

  .section_txt{
    width:80vw;
    margin: 5vw auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .t1{
      color: #C60C3E;
      font-size: $fontSize_32;
      font-weight: 600;
    }
    .t2{
      width: 40%;
      color: #3D474C;
      font-size:$fontSize_18;
      line-height: 1.6;
      span{
        font-weight: bold;
      }
    }
  }
  .no_t1{
    margin: 0 auto;
  }
  .section_pic{
    width: 80vw;
    margin: 0 auto 20px auto;
    text-align: right;
    overflow: hidden;
    img{
      width: 96%;
      object-fit: cover;
      transition: all 600ms;
    }
    &:hover{
      img{
        transform: scale(1.05);
      }
    }
  }

  .section_list{
    width: 86vw;
    margin: 0 auto;
    .item{
      display: flex;
      justify-content: space-between;
      gap:2vw;
      margin-bottom: 2vw;
      align-items: center;
      .pic{
        width:70%;
        overflow: hidden;
        img{
          width: 100%;
          display: block;
          object-fit: cover;
          transition: all 600ms;
        }
        &:hover{
          img{
            transform: scale(1.05);
          }
        }
      }
      .text{
        width: 30%;
        .t1{
          color: #C60C3E;
          font-size: $fontSize_32;
          font-weight: 600;
        }
        .des{
          color: #3D474C;
          font-size: $fontSize_18;
          line-height: 1.6;
          margin-top: 1vw;
        }
      }
    }
  }


  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      .text{
        font-size: 20px;
        width: 90%;
        left: 5%;
      }
    }
    .section_txt{
      width: 90%;
      margin: 30px auto;
      flex-direction: column;
      align-items: flex-start;
      .t1{
        font-size: 18px;
      }
      .t2{
        width: 100%;
        font-size: 14px;
        margin-top: 15px;
      }

    }
    .section_pic{
      width: 90%;
      img{
        width: 100%;
      }
    }
    .section_list{
      width: 90%;
      .item{
        flex-direction: column;
        .pic{
          width: 100%;
        }
        .text{
          width:100%;
          margin: 15px 0;
          .t1{
            font-size: 18px;
          }
          .des{
            font-size: 14px;
            margin-top: 10px;
          }
        }
      }
    }
  }
}